import App from './App'

// #ifndef VUE3
import Vue from 'vue'
import uView from "uview-ui";
Vue.use(uView);
Vue.config.productionTip = false
App.mpType = 'app'
import {
	get,
	get2,
	post,
	baseUrl
} from '@/utils/request'
import {
	okShow,
	failShow,
	next,
	next1,
	ToastOk,
	ToastFail,
	downLoad,
	daoChu,
	PhoneCall
} from '@/utils/_function.js'
Vue.prototype.$get = get
Vue.prototype.$get2 = get2
Vue.prototype.$post = post
Vue.prototype.$okShow = okShow
Vue.prototype.$failShow = failShow
Vue.prototype.$next = next
Vue.prototype.$next1 = next1
Vue.prototype.$ToastOk = ToastOk
Vue.prototype.$ToastFail = ToastFail
Vue.prototype.$baseUrl = baseUrl
Vue.prototype.$downLoad = downLoad
Vue.prototype.$daoChu = daoChu
Vue.prototype.$PhoneCall = PhoneCall
const app = new Vue({
	...App
})
app.$mount()
// #endif

// #ifdef VUE3
import {
	createSSRApp
} from 'vue'
export function createApp() {
	const app = createSSRApp(App)
	return {
		app
	}
}
// #endif
